<?php

class Login extends AppModel{
	var $name = 'Login';
	var $useTable = false;
	var $validate = array(
		'login' => array(
                    'notempty' => array(
				'rule' => array('notempty'),
				'message' => 'Informe seu Login e senha',
//				'allowEmpty' => false,
//				'required' => false,
				//'last' => false, // Stop validation after this rule
				//'on' => 'create', // Limit validation to 'create' or 'update' operations
			)
                ),
		'senha' => array(
                    'notempty' => array(
				'rule' => array('notempty'),
				'message' => 'Informe a Senha',
//				'allowEmpty' => false,
//				'required' => false,
				//'last' => false, // Stop validation after this rule
				//'on' => 'create', // Limit validation to 'create' or 'update' operations
			)
                )
	);
		   
}
?>